<template>
    <div class="categorylist">
      <div class="categoryone">
        <img src="@/assets/images/2.png" alt="小米众筹" />
        <span>小米众筹</span>
      </div>
      <div class="categoryone">
        <img src="@/assets/images/3.png" alt="小米众筹" />
        <span>有品秒杀</span>
      </div>
      <div class="categoryone">
        <img src="@/assets/images/1.png" alt="小米众筹" />
        <span>上新精选</span>
      </div>
      <div class="categoryone">
        <img src="@/assets/images/4.png" alt="小米众筹" />
        <span>生活优选</span>
      </div>
      <div class="categoryone">
        <img src="@/assets/images/5.png" alt="小米众筹" />
        <span>小米自营</span>
      </div>
    </div>
</template>

<script>
export default {
  name: "CategoryList"
};
</script>

<style lang="less" scoped>
.categorylist {
  width: 100%;
  // height: 300px;
  // background-color: bisque;
  margin-top: 30px;
  display: flex;
  .categoryone {
    // float: left;
    width: 20%;
    // background-color: brown;
    text-align: center;
    img {
      width: 110px;
      margin-bottom: 5px;
      // display: inline-block;
    }
    span {
      color: rgb(102, 102, 102);
      display: block;
      margin: 0 auto;
    }
  }
}
</style>
